<?php if (!defined('THINK_PATH')) exit();?><div class="yuList" style="display: block;">
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>车主ID</th>
                <th>车型</th>
                <th>所在地</th>
                <th>预约时间</th>
                <th>预约地址/门店</th>
                <th>客服</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>    
        <?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
                <td><?php echo ($vo["owner_id"]); ?></td>
                <td><?php echo ($vo["car_model"]); ?></td>
                <td><?php echo ($vo["location_area"]); ?></td>
                <td><?php echo ($vo["reserve_time"]); ?></td>
                <td><?php echo ($vo["address"]); ?></td>
                <td><?php echo ($vo["server_name"]); ?></td>
                <td>
                    待分配<?php if($vo["check_fail_type"] == 4): ?>(退)<?php endif; ?>
            </td>
            <td><a href="/DetectScheduling/distribute?id=<?php echo ($vo["owner_id"]); ?>">分配</a></td>        
            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
        </tbody>
    </table>
    <div class="pageFaye"><div class="pager"><?php echo ($page); ?></div><div class="clear"></div></div>
</div>
<script>
    $("#start_time").ymdateplugin({
        changeMonth: true,
        changeYear: true
    });

    $("#end_time").ymdateplugin({
        changeMonth: true,
        changeYear: true
    });
</script>